package task07;

import java.util.Scanner;

/**
 * @author banana
 */
public class Test4 {
    public static void main(String[] args) {
        System.out.println("请输入数字!");
        Scanner sz=new Scanner(System.in);
        int num=sz.nextInt();
        int min=num/60;
        int sec=num%60;
        System.out.println("时间："+min+"分"+sec+"秒");




        boolean a=true;
        boolean b=false;
        boolean result=a^b;
        int x=3;
        int y=5;
        result=(x>y)&(x++>1);
        System.out.println("&运算结符的结果：result:"+result+"\n x="+x);


        System.out.println("请输入一个数");
        Scanner bi=new Scanner(System.in);
        num = bi.nextInt();
        if(num>3&num<6){
            System.out.println("正确");
        }else {
            System.out.println("错误");
        }

    }
}
